<?php
	class config{
		const HOST_NAME = "localhost";
		const HOST_USER = "root";
		const HOST_PASS = "root";
		const DB_NAME	= "livechat";
	}
	define("base_url","http://localhost/");
	
	function loadview($url,$data=""){
		require("views/$url.php");
	}
	function redirect($url){
		header("location:$url");
		exit();
	}
	function debug($url){
		echo "<pre>";
		print_r($url);
		echo "</pre>";
		die();
	}
?>